﻿#include "screenscutcheoneventobject.h"
using namespace EarthView::World::Core;





            CScreenScutcheonEventObject::CScreenScutcheonEventObject()
            {
            }

            CScreenScutcheonEventObject::~CScreenScutcheonEventObject()
            {
            }

            bool CScreenScutcheonEventObject::onMouseDownEvent(CScreenScutcheonEvent* e)
            {
                return false;
            }

            bool CScreenScutcheonEventObject::onMouseMoveEvent(CScreenScutcheonEvent* e)
            {
                return false;
            }

            bool CScreenScutcheonEventObject::onMouseUpEvent(CScreenScutcheonEvent* e)
            {
                return false;
            }

            bool CScreenScutcheonEventObject::onKeyDownEvent(CScreenScutcheonEvent* e)
            {
                return false;
            }

            bool CScreenScutcheonEventObject::onKeyUpEvent(CScreenScutcheonEvent* e)
            {
                return false;
            }

            bool CScreenScutcheonEventObject::onSelectedEvent(CScreenScutcheonEvent* e)
            {
                return false;
            }

            ev_bool CScreenScutcheonEventObject::onEvent(_in CEvent *e)
            {
                if ( e != NULL )
                {
                    switch(e->type())
                    {
                    case CScreenScutcheonEvent::STET_MouseDown:
                        {
                            return onMouseDownEvent((CScreenScutcheonEvent*)e);
                        }
                    case CScreenScutcheonEvent::STET_MouseMove:
                        {
                            return onMouseMoveEvent((CScreenScutcheonEvent*)e);
                        }
                    case CScreenScutcheonEvent::STET_MouseUp:
                        {
                            return onMouseUpEvent((CScreenScutcheonEvent*)e);
                        }
                    case CScreenScutcheonEvent::STET_KeyDown:
                        {
                            return onKeyDownEvent((CScreenScutcheonEvent*)e);
                        }
                    case CScreenScutcheonEvent::STET_KeyUp:
                        {
                            return onKeyUpEvent((CScreenScutcheonEvent*)e);
                        }
                    case CScreenScutcheonEvent::STET_Selected:
                        {
                            return onSelectedEvent((CScreenScutcheonEvent*)e);
                        }
                    case CScreenScutcheonEvent::STET_MouseWheel:
                        {
                            return onMouseWheelEvent((CScreenScutcheonEvent*)e);
                        }
                    default:
                        break;
                    }
                }
                return false;
            }

            bool CScreenScutcheonEventObject::onMouseWheelEvent( CScreenScutcheonEvent* e )
            {
                return false;
            }
